﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartRS.com.vn.smartrs.interfaces
{
    public interface BaseDbInterface<T>
    {
        T insert(T obj);
        bool update(T obj);
        bool delete(T obj);
        T getById(long id);
        IList<T> getAll();
    }
}
